﻿<template>
    <div>
        <ul>
            <li>消息编号:{{$route.query.id}}</li>
            <li>消息的名字:{{$route.query.name}}</li>
        </ul>
    </div>
</template>

<script>
    export default {
        name: 'Detil',
        components:{},
        mounted(){
            console.log(this.$route)//$route能够得到这个路由配置的相关信息
        }
    }
</script>

<style scoped>

</style>